﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.Data.Entity;
using System.Data.Entity.Infrastructure;
using DataBase;
using DB.SDFAuth;
using Nop.Core.Infrastructure;
using Nop.Services.Blogs;
using SDF.Core;
using NUnit.Framework;
using SDF.Core.Infrastructure;
using SDFAuth;
using SDFAuth.Data;
using Weapsy;

namespace Nop.Data.Tests
{
    [TestFixture]
    public class ServiceTest
    {

        [SetUp]
        public void SetUp()
        {
            EngineContext.Initialize(true);
        }
        [Test]
        public void TestUser()
        {
            var service = EngineContext.Current.ContainerManager.Resolve<IUserService>();
            var list = service.GetUserList();
            Assert.IsTrue(list.Count > 0);
        }
    }
}
